package com.xiaoquan.gulimall.product.dao;

import com.xiaoquan.gulimall.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 * 
 * @author xiaoquan
 * @email 1461240780@qq.com
 * @date 2021-06-03 18:06:07
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {
    // 如果有两个参数， 推荐使用@Param("") 注解 为每一个参数 设置别名
    void updateCategory(@Param("catId") Long catId,@Param("name") String name);
}
